package com.carrot.uaa.common.log;/*
package com.circue.uaa.common.log;

import com.circue.uaa.entity.UaaLog;

*/
/**
 * @description:日志上下文工具类
 * @author: zl
 * @date: 2023/12/25
 *//*

public final class LogContextUtil {
    private final static ThreadLocal<UaaLog> logContext=new ThreadLocal<>();

    private LogContextUtil(){};

    public static UaaLog getContext() {
        return logContext.get();
    }

    public static void setContext(UaaLog uaaLog) {
        if (uaaLog == null) {
            resetContext();
        } else {
            logContext.set(uaaLog);
        }
    }

    public static void resetContext() {
        logContext.remove();
    }
}
*/
